Skip to content

fix: [OData Generic] Enable query params on odatav4 expand#1181

Merged
newtork merged 4 commits into
mainfrom
enable-query-params-on-odatav4-expand
May 26, 2026
Merged

fix: [OData Generic] Enable query params on odatav4 expand#1181
newtork merged 4 commits into
mainfrom
enable-query-params-on-odatav4-expand

Conversation

@newtork
Copy link
Copy Markdown
Contributor

@newtork newtork commented May 26, 2026

Context

Related:

Details:

  • Allow for custom query parameters on expand sub-query expressions.
  • Only allow for OData v4.
  • Do not introduce breaking changes.

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Error handling created / updated & covered by the tests above
  • Documentation updated
  • Release notes updated

@newtork newtork added please merge Request to merge a pull request please review Request to review a pull request labels May 26, 2026
Copy link
Copy Markdown
Member

@Jonas-Isr Jonas-Isr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@newtork newtork merged commit a44c6b4 into main May 26, 2026
13 checks passed
@newtork newtork deleted the enable-query-params-on-odatav4-expand branch May 26, 2026 12:52
@Override
public boolean allowCustomQueryParameter( final boolean isRoot, @Nonnull final String key )
{
final Predicate<String> expandOption =
Copy link
Copy Markdown

@eugene-andreev eugene-andreev Jun 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a static constant in ODataProtocolV4, otherwise the Set.of(...) will be intitialised by each method call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

please merge Request to merge a pull request please review Request to review a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants